package site.potatoblog.threadpool.manager.controller;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import site.potatoblog.threadpool.manager.core.DynamicThreadPool;

@ConditionalOnBean(DynamicThreadPool.class)
@Controller
public class SysController {
    @RequestMapping("/thread-pool-manager")
    public String doc(){
        return "forward:/manager.html";
    }
}
